import request from '@/utils/request'

export function investmentList(query) {
  return request({
    url: '/investment/investmentList',
    method: 'get',
    params: query
  })
}


export function investmentActivityList(query) {
  return request({
    url: '/investment/investmentActivityList',
    method: 'get',
    params: query
  })
}

export function investmentActivityEdit(data) {
  return request({
    url: '/investment/investmentActivityEdit',
    method: 'post',
    data
  })
}

export function investmentLogList(query) {
  return request({
    url: '/investment/investmentLogList',
    method: 'get',
    params: query
  })
}


export function investmentSettingList(query) {
  return request({
    url: '/investment/investmentSettingList',
    method: 'get',
    params: query
  })
}

export function investmentSettingEdit(data) {
  return request({
    url: '/investment/investmentSettingEdit',
    method: 'post',
    data
  })
}
export function investmentSettingDel(query) {
  return request({
    url: '/investment/investmentSettingDel',
    method: 'get',
    params: query
  })
}
